package com.yhert.study.springcloud.study01.service.account.service.hystrix;

import org.springframework.stereotype.Service;

import com.yhert.study.springcloud.study01.service.account.beans.User;
import com.yhert.study.springcloud.study01.service.account.service.UserService;

@Service
public class UserServiceHystrix implements UserService {

	@Override
	public User getUser(String username) {
		return new User(username, "hystrix");
	}

}
